﻿#pragma once
#include "./_private/_privateinc.h"
#include "logbase.h"
#include "logprintmgr.h"
#include <stack>

NAMESPACE_BEG


class LoggerErr :public LoggerBase {
public:
    LoggerErr() :LoggerBase(LOG_LEVEL::ERR) {
    }

    void send(LogItem&& item) {
        err_static_.push(item);
        zoomin::logger::LoggerPrintMgr::getInstance().postLog(std::move(item));
    }

    std::stack<LogItem> err_static_;
};
NAMESPACE_END
